package com.example.msgBoard.service;

import com.example.msgBoard.model.User;

public interface UserService {
    User registerUser(User user) throws Exception;
    User findByUsername(String username);
    User login(String username, String password);
    // 其他必要的方法
}
